<template class="container">
    <div style="margin-top: 100px; margin-left: 100px; height: 100px; width: 100px; background-color: #ff0000; overflow-y: auto;">
        <div style="height: 50px; width: 80px; margin-left: 10px; background-color: #00ff00;"></div>
        <div style="height: 50px; width: 80px; margin-left: 10px; background-color: #005f40;"></div>
        <div style="height: 50px; width: 80px; margin-left: 10px; background-color: #3684dd;"></div>
        <div style="height: 50px; width: 80px; margin-left: 10px; background-color: #7d1cbd;"></div>
    </div>
</template>

<style>
.container {
    width: 100%;
    height: 100%;
}
</style>